<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title><?php echo C('WEB_SITE_TITLE');?></title>
    
    <meta name="keywords" content="">
    <meta name="description" content="">
    
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    
    <link rel="shortcut icon" href="favicon.ico">
    <link href="/Admin/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="/Admin/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="/Admin/css/animate.min.css" rel="stylesheet">
    <link href="/Admin/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <script src="/Admin/js/jquery.min.js?v=2.1.4"></script>
    
    <style>
        .status{
            color: #FFF;
        }
        .status-0{
            background-color: #f8ac59;
        }
        .status-1{
            background-color: #1ab394;
        }
        .status-2{
            background-color: #ed5565;
        }
    </style>
</head>
<body>

</body>
</html>
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper">
        
        <!--左侧菜单开始-->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
    
                    <li class="nav-header">
                        <div class="dropdown profile-element">
                            <span><img alt="image" class="img-circle" style="width:64px;height:64px;" src="/Admin/images/profile.jpg" /></span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold"><?php echo session('user_auth.username');?></strong></span>
                                <span class="text-muted text-xs block">管理员<b class="caret"></b></span>
                                </span>
                            </a>
                            <ul class="dropdown-menu animated fadeInRight m-t-xs">
                                <!--<li><a class="J_menuItem" href="form_avatar.html">修改头像</a>-->
                                <!--</li>-->
                                <!--<li><a class="J_menuItem" href="profile.html">个人资料</a>-->
                                <!--</li>-->
                                <!--<li><a class="J_menuItem" href="contacts.html">联系我们</a>-->
                                <!--</li>-->
                                <!--<li><a class="J_menuItem" href="mailbox.html">信箱</a>-->
                                </li>
                                <li class="divider"></li>
                                <li><a href="<?php echo U('Public/logout');?>">安全退出</a>
                                </li>
                            </ul>
                        </div>
                        <div class="logo-element">H+
                        </div>
                    </li>
                    
                    <?php if(is_array($__MENU__["main"])): $i = 0; $__LIST__ = $__MENU__["main"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$menu): $mod = ($i % 2 );++$i;?><li>
            
                            <a href="#">
                                <i class="fa fa-home"></i>
                                <span class="nav-label"><?php echo ($menu["title"]); ?></span>
                                <span class="fa arrow"></span>
                            </a>
                            <?php if($menu['child']): ?><ul class="nav nav-second-level">
                                    <?php if(is_array($menu["child"])): $i = 0; $__LIST__ = $menu["child"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$child): $mod = ($i % 2 );++$i;?><li>
                                            <a class="J_menuItem" href="<?php echo (U($child["url"])); ?>#" data-index="0"><?php echo ($child["title"]); ?></a>
                                        </li><?php endforeach; endif; else: echo "" ;endif; ?>
                                </ul><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                    
                </ul>
            </div>
        </nav>
        <!--左侧菜单结束-->
        
        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
                        <form role="search" class="navbar-form-custom" method="post" action="">
                            <div class="form-group">
                                <input type="text" placeholder="请输入您需要查找的内容 …" class="form-control" name="top-search" id="top-search">
                            </div>
                        </form>
                    </div>
                    <!--<ul class="nav navbar-top-links navbar-right">-->
                        <!--<li class="dropdown">-->
                            <!--<a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">-->
                                <!--<i class="fa fa-envelope"></i> <span class="label label-warning">16</span>-->
                            <!--</a>-->
                            <!--<ul class="dropdown-menu dropdown-messages">-->
                                <!---->
                                <!--&lt;!&ndash;邮件模板&ndash;&gt;-->
                                <!--<li class="m-t-xs">-->
                                    <!--<div class="dropdown-messages-box">-->
                                        <!--<a href="profile.html" class="pull-left">-->
                                            <!--<img alt="image" class="img-circle" src="/Admin/images/p3.jpg">-->
                                        <!--</a>-->
                                        <!--<div class="media-body">-->
                                            <!--<small class="pull-right">46小时前</small>-->
                                            <!--<strong>用户名</strong> 内容模板-->
                                            <!--<br>-->
                                            <!--<small class="text-muted">3天前 2014.11.8</small>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                <!--</li>-->
                                <!--<li class="divider"></li>-->
                                <!--<li>-->
                                    <!--<div class="dropdown-messages-box">-->
                                        <!--<a href="profile.html" class="pull-left">-->
                                            <!--<img alt="image" class="img-circle" src="/Admin/images/p3.jpg">-->
                                        <!--</a>-->
                                        <!--<div class="media-body ">-->
                                            <!--<small class="pull-right text-navy">25小时前</small>-->
                                            <!--<strong>用户名</strong> 内容模板-->
                                            <!--<br>-->
                                            <!--<small class="text-muted">昨天</small>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                <!--</li>-->
                                <!--<li class="divider"></li>-->
                                <!--&lt;!&ndash;邮件模板&ndash;&gt;-->
                                <!---->
                                <!---->
                                <!--<li>-->
                                    <!--<div class="text-center link-block">-->
                                        <!--<a class="J_menuItem" href="mailbox.html">-->
                                            <!--<i class="fa fa-envelope"></i> <strong> 查看所有消息</strong>-->
                                        <!--</a>-->
                                    <!--</div>-->
                                <!--</li>-->
                            <!--</ul>-->
                        <!--</li>-->
                        <!--<li class="dropdown">-->
                            <!--<a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">-->
                                <!--<i class="fa fa-bell"></i> <span class="label label-primary">8</span>-->
                            <!--</a>-->
                            <!--<ul class="dropdown-menu dropdown-alerts">-->
                                <!--<li>-->
                                    <!--<a href="mailbox.html">-->
                                        <!--<div>-->
                                            <!--<i class="fa fa-envelope fa-fw"></i> 您有16条未读消息-->
                                            <!--<span class="pull-right text-muted small">4分钟前</span>-->
                                        <!--</div>-->
                                    <!--</a>-->
                                <!--</li>-->
                                <!--<li class="divider"></li>-->
                                <!--<li>-->
                                    <!--<a href="profile.html">-->
                                        <!--<div>-->
                                            <!--<i class="fa fa-qq fa-fw"></i> 3条新回复-->
                                            <!--<span class="pull-right text-muted small">12分钟钱</span>-->
                                        <!--</div>-->
                                    <!--</a>-->
                                <!--</li>-->
                                <!--<li class="divider"></li>-->
                                <!--<li>-->
                                    <!--<div class="text-center link-block">-->
                                        <!--<a class="J_menuItem" href="notifications.html">-->
                                            <!--<strong>查看所有 </strong>-->
                                            <!--<i class="fa fa-angle-right"></i>-->
                                        <!--</a>-->
                                    <!--</div>-->
                                <!--</li>-->
                            <!--</ul>-->
                        <!--</li>-->
                        <!--&lt;!&ndash;<li class="hidden-xs">&ndash;&gt;-->
                            <!--&lt;!&ndash;<a href="index_v1.html" class="J_menuItem" data-index="0"><i class="fa fa-cart-arrow-down"></i> 购买</a>&ndash;&gt;-->
                        <!--&lt;!&ndash;</li>&ndash;&gt;-->
                        <!--<li class="dropdown hidden-xs">-->
                            <!--<a class="right-sidebar-toggle" aria-expanded="false">-->
                                <!--<i class="fa fa-tasks"></i> 主题-->
                            <!--</a>-->
                        <!--</li>-->
                    <!--</ul>-->
                </nav>
            </div>
            <div class="row content-tabs">
                <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
                </button>
                <nav class="page-tabs J_menuTabs">
                    <div class="page-tabs-content">
                        <a href="javascript:;" class="active J_menuTab" data-id="index_v1.html">首页</a>
                    </div>
                </nav>
                <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
                </button>
                <div class="btn-group roll-nav roll-right">
                    <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>

                    </button>
                    <ul role="menu" class="dropdown-menu dropdown-menu-right">
                        <li class="J_tabShowActive"><a>定位当前选项卡</a>
                        </li>
                        <li class="divider"></li>
                        <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                        </li>
                        <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                        </li>
                    </ul>
                </div>
                <a href="<?php echo U('Public/logout');?>" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
            </div>
            <div class="row J_mainContent" id="content-main">
                <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="<?php echo U('Item/index');?>" frameborder="0" data-id="index_v1.html" seamless></iframe>
            </div>
            <div class="footer">
                <div class="pull-right">&copy; 2017 <a href="http://www.huiyou365.net/" target="_blank">Powered By 汇友科技</a>
                </div>
            </div>
        </div>
        <!--右侧部分结束-->
        
        
        <!--右侧边栏开始-->
        <div id="right-sidebar">
            <div class="sidebar-container">

                <ul class="nav nav-tabs navs-3">

                    <li class="active">
                        <a data-toggle="tab" href="#tab-1">
                            <i class="fa fa-gear"></i> 主题
                        </a>
                    </li>
                    <li class=""><a data-toggle="tab" href="#tab-2">
                        通知
                    </a>
                    </li>
                    <li><a data-toggle="tab" href="#tab-3">
                        项目进度
                    </a>
                    </li>
                </ul>

                <div class="tab-content">
                    <div id="tab-1" class="tab-pane active">
                        <div class="sidebar-title">
                            <h3> <i class="fa fa-comments-o"></i> 主题设置</h3>
                            <small><i class="fa fa-tim"></i> 你可以从这里选择和预览主题的布局和样式，这些设置会被保存在本地，下次打开的时候会直接应用这些设置。</small>
                        </div>
                        <div class="skin-setttings">
                            <div class="title">主题设置</div>
                            <div class="setings-item">
                                <span>收起左侧菜单</span>
                                <div class="switch">
                                    <div class="onoffswitch">
                                        <input type="checkbox" name="collapsemenu" class="onoffswitch-checkbox" id="collapsemenu">
                                        <label class="onoffswitch-label" for="collapsemenu">
                                            <span class="onoffswitch-inner"></span>
                                            <span class="onoffswitch-switch"></span>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="setings-item">
                                <span>固定顶部</span>

                                <div class="switch">
                                    <div class="onoffswitch">
                                        <input type="checkbox" name="fixednavbar" class="onoffswitch-checkbox" id="fixednavbar">
                                        <label class="onoffswitch-label" for="fixednavbar">
                                            <span class="onoffswitch-inner"></span>
                                            <span class="onoffswitch-switch"></span>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="setings-item">
                                <span>
                        固定宽度
                    </span>

                                <div class="switch">
                                    <div class="onoffswitch">
                                        <input type="checkbox" name="boxedlayout" class="onoffswitch-checkbox" id="boxedlayout">
                                        <label class="onoffswitch-label" for="boxedlayout">
                                            <span class="onoffswitch-inner"></span>
                                            <span class="onoffswitch-switch"></span>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="title">皮肤选择</div>
                            <div class="setings-item default-skin nb">
                                <span class="skin-name ">
                         <a href="#" class="s-skin-0">
                             默认皮肤
                         </a>
                    </span>
                            </div>
                            <div class="setings-item blue-skin nb">
                                <span class="skin-name ">
                        <a href="#" class="s-skin-1">
                            蓝色主题
                        </a>
                    </span>
                            </div>
                            <div class="setings-item yellow-skin nb">
                                <span class="skin-name ">
                        <a href="#" class="s-skin-3">
                            黄色/紫色主题
                        </a>
                    </span>
                            </div>
                        </div>
                    </div>
                    <div id="tab-2" class="tab-pane">

                        <div class="sidebar-title">
                            <h3> <i class="fa fa-comments-o"></i> 最新通知</h3>
                            <small><i class="fa fa-tim"></i> 您当前有10条未读信息</small>
                        </div>

                        <div>

                            <!-- 消息 -->
                            <div class="sidebar-message">
                                <a href="#">
                                    <div class="pull-left text-center">
                                        <!--<img alt="image" class="img-circle message-avatar" src="/Admin/images/a1.jpg">-->

                                        <div class="m-t-xs">
                                            <i class="fa fa-star text-warning"></i>
                                            <i class="fa fa-star text-warning"></i>
                                        </div>
                                    </div>
                                    <div class="media-body">
                                        通知消息模板
                                        <br>
                                        <small class="text-muted">今天 4:21</small>
                                    </div>
                                </a>
                            </div>
                            <!-- 消息 -->
                            
                        </div>
                    </div>
                    <div id="tab-3" class="tab-pane">

                        <div class="sidebar-title">
                            <h3> <i class="fa fa-cube"></i> 最新任务</h3>
                            <small><i class="fa fa-tim"></i> 您当前有14个任务，10个已完成</small>
                        </div>

                        <ul class="sidebar-list">
                            
                            <!--任务-->
                            <li>
                                <a href="#">
                                    <div class="small pull-right m-t-xs">9小时以后</div>
                                    <h4>市场调研</h4> 按要求接收教材；

                                    <div class="small">已完成： 22%</div>
                                    <div class="progress progress-mini">
                                        <div style="width: 22%;" class="progress-bar progress-bar-warning"></div>
                                    </div>
                                    <div class="small text-muted m-t-xs">项目截止： 4:00 - 2015.10.01</div>
                                </a>
                            </li>
                            <!--任务-->

                        </ul>

                    </div>
                </div>

            </div>
        </div>
        <!--右侧边栏结束-->
        
        <!--mini聊天窗口开始-->
        <!--<div class="small-chat-box fadeInRight animated">-->

            <!--<div class="heading" draggable="true">-->
                <!--<small class="chat-date pull-right">-->
                    <!--<?php echo date('Y-m-d');?>-->
                <!--</small> 与 Creatint 聊天中-->
            <!--</div>-->

            <!--<div class="content">-->

                <!--<div class="left">-->
                    <!--<div class="author-name">-->
                        <!--Creatint <small class="chat-date">-->
                        <!--10:02-->
                    <!--</small>-->
                    <!--</div>-->
                    <!--<div class="chat-message active">-->
                        <!--Hello-->
                    <!--</div>-->

                <!--</div>-->
                <!--<div class="right">-->
                    <!--<div class="author-name">-->
                        <!--游客-->
                        <!--<small class="chat-date">-->
                            <!--11:24-->
                        <!--</small>-->
                    <!--</div>-->
                    <!--<div class="chat-message">-->
                        <!--Hi,are you free now?-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="left">-->
                    <!--<div class="author-name">-->
                        <!--Creatint-->
                        <!--<small class="chat-date">-->
                            <!--08:45-->
                        <!--</small>-->
                    <!--</div>-->
                    <!--<div class="chat-message active">-->
                        <!--Yes, can I help you?-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="right">-->
                    <!--<div class="author-name">-->
                        <!--游客-->
                        <!--<small class="chat-date">-->
                            <!--11:24-->
                        <!--</small>-->
                    <!--</div>-->
                    <!--<div class="chat-message">-->
                        <!--If you please draw me a sheep?-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="left">-->
                    <!--<div class="author-name">-->
                        <!--Creatint-->
                        <!--<small class="chat-date">-->
                            <!--08:45-->
                        <!--</small>-->
                    <!--</div>-->
                    <!--<div class="chat-message active">-->
                        <!--Sure, whitch do you prefer?-->
                        <!--<br> 2.Sickly sheep-->
                        <!--<br> 3.Goat with horns-->
                        <!--<br> 4.Old sheep-->
                        <!--<br> ……-->
                        <!--<br>-->
                    <!--</div>-->
                <!--</div>-->


            <!--</div>-->
            <!--<div class="form-chat">-->
                <!--<div class="input-group input-group-sm">-->
                    <!--<input type="text" class="form-control"> <span class="input-group-btn"> <button-->
                        <!--class="btn btn-primary" type="button">发送-->
                <!--</button> </span>-->
                <!--</div>-->
            <!--</div>-->

        <!--</div>-->
        
        <!-- 聊天按钮 -->
        <!--<div id="small-chat">-->
            <!--<span class="badge badge-warning pull-right">5</span>-->
            <!--<a class="open-small-chat">-->
                <!--<i class="fa fa-comments"></i>-->
            <!--</a>-->
        <!--</div>-->
        <!-- 聊天按钮 -->
        
    </div>
    <!--<script src="/Admin/js/jquery.min.js?v=2.1.4"></script>-->
<script src="/Admin/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/Admin/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="/Admin/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="/Admin/js/plugins/layer/layer.min.js"></script>
<script src="/Admin/js/hplus.min.js?v=4.1.0"></script>
<script src="/Admin/js/contabs.min.js"></script>
<script src="/Admin/js/plugins/pace/pace.min.js"></script>
<script>
    $("button").on('click',function(){
        if ( $(this).hasClass("confirm") ) {
            if ( !confirm("确定要执行操作吗?") ) {
                console.log("取消操作");
                return;
            } else {
                console.log("继续操作");
            }
        }
        var href = $(this).attr("href");
        var form = $(this).attr("form");
        var action = $(this).attr("action");
        if ( href ){
            window.location.href = href;
        } else if ( form && action ) {
            $("#"+form)
                .attr("action",action)
                .submit();
        }
    });

    $("input[name=checkAll]").on('change',function(){
        console.log("改变了");
        console.log($(this).prop("checked"));
        var child = $(this).attr("child");
        if ( $(this).prop("checked") ) {
            $("."+child).prop("checked",true);
        } else {
            $("."+child).prop("checked",false);
        }
    });

</script>

</body>


</html>